package com.sangeng.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sangeng.entity.UserRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户和角色关联表(UserRole)表数据库访问层
 *
 * @author makejava
 * @since 2022-08-27 13:54:03
 */
public interface UserRoleMapper extends BaseMapper<UserRole> {

    List<String> getRoleByUserId(Long id);
}

